﻿using System.Collections;
using System.Collections.Generic;
using System.Linq;

namespace ZQNB.BaseLib.Core.Models
{
    public class BsSetting
    {
        public BsSetting()
        {
            Themes = new List<BsTheme>();
            Layouts = new List<BsLayout>();
            Layout = "_BsLayout";
        }

        /// <summary>
        /// 是否套用容器（use .container）
        /// </summary>
        public bool InsideContainer { get; set; }

        /// <summary>
        /// 容器是否固定宽度（use .fixed-container）
        /// </summary>
        public bool Responsive { get; set; }

        /// <summary>
        /// 主题
        /// </summary>
        public string Theme { get; set; }

        public IList<BsTheme> Themes { get; set; }

        public string Layout { get; set; }
        public IList<BsLayout> Layouts { get; set; }
    }

    public class BsTheme
    {
        public string Name { get; set; }
        public string Path { get; set; }
        //public bool IsCurrent { get; set; }
    }

    public class BsLayout
    {
        public string Name { get; set; }
        public string PartialViewName { get; set; }
    }
}